home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _D362548D87254E6D8BEE072C542AF088 < prev    next >
Encoding:
Text File  |  2002-04-29  |  9.3 KB  |  497 lines

  1. {
  2.     \\ INGAME TEAM MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name            "ingame_identity_red"
  7.         visible            0
  8.         fullScreen        0
  9.         rect            0 0 640 480
  10.         focusColor        1 .75 0 1
  11.         disablecolor    .12 .14 .08 .5
  12.  
  13.         onOpen
  14.         {
  15.         }
  16.  
  17.         onESC
  18.         {
  19.             close    ingame_identity_red;
  20.             open    ingame_team;
  21.         }
  22.  
  23.         itemDef
  24.         {
  25.             style        WINDOW_STYLE_FILLED
  26.             type        ITEM_TYPE_BUTTON
  27.             rect        0 0 640 480
  28.             backcolor    0 0 0 .75
  29.             visible        0
  30.             decoration
  31.         }
  32.  
  33.         ////////////////////////////////////////////////////////////////////////
  34.         //  Dialog frame
  35.         ////////////////////////////////////////////////////////////////////////
  36.  
  37.         itemDef
  38.         {
  39.             name        window
  40.             style        WINDOW_STYLE_SHADER
  41.             rect        130 70 380 350
  42.             background    "gfx/menus/ingame/background.png"
  43.             backcolor    1 1 1 1
  44.             visible        1
  45.             decoration
  46.         }
  47.  
  48.         itemDef
  49.         {
  50.             name        window
  51.             style        WINDOW_STYLE_SHADER
  52.             rect        124 65 8 8
  53.             background    "gfx/menus/ingame/frame_topleft.png"
  54.             visible        1
  55.             decoration
  56.         }
  57.  
  58.         itemDef
  59.         {
  60.             name        window
  61.             style        WINDOW_STYLE_SHADER
  62.             rect        130 65 380 8
  63.             background    "gfx/menus/ingame/frame_top.png"
  64.             visible        1
  65.             decoration
  66.         }
  67.  
  68.         itemDef
  69.         {
  70.             name        window
  71.             style        WINDOW_STYLE_SHADER
  72.             rect        510 65 8 8
  73.             background    "gfx/menus/ingame/frame_topright.png"
  74.             visible        1
  75.             decoration
  76.         }
  77.  
  78.         itemDef
  79.         {
  80.             name        window
  81.             style        WINDOW_STYLE_SHADER
  82.             rect        124 420 8 8
  83.             background    "gfx/menus/ingame/frame_bottomleft.png"
  84.             visible        1
  85.             decoration
  86.         }
  87.  
  88.         itemDef
  89.         {
  90.             name        window
  91.             style        WINDOW_STYLE_SHADER
  92.             rect        130 420 380 8
  93.             background    "gfx/menus/ingame/frame_bottom.png"
  94.             visible        1
  95.             decoration
  96.         }
  97.  
  98.         itemDef
  99.         {
  100.             name        window
  101.             style        WINDOW_STYLE_SHADER
  102.             rect        510 420 8 8
  103.             background    "gfx/menus/ingame/frame_bottomright.png"
  104.             visible        1
  105.             decoration
  106.         }
  107.  
  108.         itemDef
  109.         {
  110.             name        window
  111.             style        WINDOW_STYLE_SHADER
  112.             rect        510 70 8 350
  113.             background    "gfx/menus/ingame/frame_right.png"
  114.             visible        1
  115.             decoration
  116.         }
  117.  
  118.         itemDef
  119.         {
  120.             name        window
  121.             style        WINDOW_STYLE_SHADER
  122.             rect        124 70 8 350
  123.             background    "gfx/menus/ingame/frame_left.png"
  124.             visible        1
  125.             decoration
  126.         }
  127.  
  128.         ////////////////////////////////////////////////////////////////////////
  129.         //  Title
  130.         ////////////////////////////////////////////////////////////////////////
  131.         itemDef
  132.         {
  133.             style        WINDOW_STYLE_FILLED
  134.             rect        130 70 378 30
  135.             forecolor    0 0 0 1
  136.             backcolor    0 0 0 .25
  137.             visible        1
  138.             border        1
  139.             bordercolor    0 0 0 1
  140.  
  141.             textalignx    190
  142.             textaligny    5
  143.             textalign    1
  144.             textfont    "hud"
  145.             textscale    .53
  146.             text        "SELECT IDENTITY"
  147.         }
  148.  
  149.         itemDef
  150.         {
  151.             name        window
  152.             rect        150 110 340 160
  153.             textfont    "hud"
  154.             textscale    .6
  155.             forecolor    0 0 0 1
  156.             visible        1            
  157.  
  158.             text        "Red Team"
  159.  
  160.             decoration
  161.         }
  162.  
  163.         ///////////////////////////////////////////////////////////////////////
  164.         // HELP TEXT
  165.         ///////////////////////////////////////////////////////////////////////
  166.         itemDef
  167.         {
  168.             rect                150 135 340 15
  169.             text                "Select the identity you would like to use.  Keep in mind that the"
  170.             textfont            "hud"
  171.             textscale            .35
  172.             forecolor            0 0 0 1
  173.             visible                1
  174.             decoration
  175.         }
  176.  
  177.         itemDef
  178.         {
  179.             rect                150 150 340 15
  180.             text                "below identities will be your teammates when playing.  Your identity"
  181.             textfont            "hud"
  182.             textscale            .35
  183.             forecolor            0 0 0 1
  184.             visible                1
  185.             decoration
  186.         }
  187.  
  188.         itemDef
  189.         {
  190.             rect                150 165 340 15
  191.             text                "can be changed later by either rejoining the team or in the"
  192.             textfont            "hud"
  193.             textscale            .35
  194.             forecolor            0 0 0 1
  195.             visible                1
  196.             decoration
  197.         }
  198.  
  199.         itemDef
  200.         {
  201.             rect                150 180 340 15
  202.             text                "player options menu."
  203.             textfont            "hud"
  204.             textscale            .35
  205.             forecolor            0 0 0 1
  206.             visible                1
  207.             decoration
  208.         }
  209.  
  210.         ////////////////////////////////////////////////////////////////////////
  211.         //  RED TEAM
  212.         ////////////////////////////////////////////////////////////////////////
  213.  
  214.         itemDef
  215.         {
  216.             name            redteam1_glow
  217.             type            ITEM_TYPE_BUTTON
  218.             style            WINDOW_STYLE_FILLED
  219.             rect            144 205 62 120
  220.             visible            1
  221.             border            1
  222.             bordercolor        0 0 0 1
  223.  
  224.             hotkey            "1"
  225.  
  226.             textfont        "hud"
  227.             textscale        .33
  228.             textaligny        2
  229.             textalignx        2
  230.                             
  231.             forecolor        0 0 0 1
  232.             backcolor        0 0 0 0
  233.  
  234.             mouseEnter
  235.             {
  236.                 play "sound/misc/menus/hilite1.wav" ; 
  237.  
  238.                 setitemcolor redteam1_glow  backcolor .12 .14 .08 1;
  239.                 setitemcolor redteam1_glow  forecolor .49 .56 .27 1;
  240.             }
  241.  
  242.             mouseExit
  243.             {
  244.                 setitemcolor redteam1_glow backcolor    0 0 0 0 ;
  245.                 setitemcolor redteam1_glow forecolor    0 0 0 1 ;
  246.             }
  247.  
  248.             action
  249.             {
  250.                 play     "sound/misc/menus/select.wav" ;             
  251.                 uiScript JoinTeam red 0;
  252.                 close     ingame_identity_red;
  253.                 exec    "ui_outfitting";
  254.             }
  255.         }
  256.  
  257.  
  258.         itemDef
  259.         {
  260.             rect            145 206 62 120
  261.             visible            1
  262.             ownerdraw        UI_REDTEAM_IDENTITY
  263.             ownerdrawparam    0
  264.             decoration
  265.         }
  266.  
  267.         itemDef
  268.         {
  269.             name            redteam2_glow
  270.             type            ITEM_TYPE_BUTTON
  271.             style            WINDOW_STYLE_FILLED
  272.             rect            216 205 62 120
  273.             visible            1
  274.             border            1
  275.             bordercolor        0 0 0 1
  276.  
  277.             hotkey            "2"
  278.                         
  279.             forecolor        0 0 0 1
  280.             backcolor        0 0 0 0
  281.  
  282.             mouseEnter
  283.             {
  284.                 play "sound/misc/menus/hilite1.wav" ; 
  285.  
  286.                 setitemcolor redteam2_glow  backcolor .12 .14 .08 1;
  287.                 setitemcolor redteam2_glow  forecolor .49 .56 .27 1;
  288.             }
  289.  
  290.             mouseExit
  291.             {
  292.                 setitemcolor redteam2_glow backcolor    0 0 0 0 ;
  293.                 setitemcolor redteam2_glow forecolor    0 0 0 1 ;
  294.             }
  295.  
  296.             action
  297.             {
  298.                 play     "sound/misc/menus/select.wav" ;             
  299.                 uiScript JoinTeam red 1;
  300.                 close     ingame_identity_red;
  301.                 exec    "ui_outfitting";
  302.             }
  303.         }
  304.  
  305.         itemDef
  306.         {
  307.             rect            217 206 62 120
  308.             visible            1
  309.             ownerdraw        UI_REDTEAM_IDENTITY
  310.             ownerdrawparam    1
  311.             decoration
  312.         }
  313.  
  314.         itemDef
  315.         {
  316.             name            redteam3_glow
  317.             type            ITEM_TYPE_BUTTON
  318.             style            WINDOW_STYLE_FILLED
  319.             rect            288 205 62 120
  320.             visible            1
  321.             border            1
  322.             bordercolor        0 0 0 1
  323.  
  324.             hotkey            "3"
  325.                         
  326.             forecolor        0 0 0 1
  327.             backcolor        0 0 0 0
  328.  
  329.             mouseEnter
  330.             {
  331.                 play "sound/misc/menus/hilite1.wav" ; 
  332.  
  333.                 setitemcolor redteam3_glow  backcolor .12 .14 .08 1;
  334.                 setitemcolor redteam3_glow  forecolor .49 .56 .27 1;
  335.             }
  336.  
  337.             mouseExit
  338.             {
  339.                 setitemcolor redteam3_glow backcolor    0 0 0 0 ;
  340.                 setitemcolor redteam3_glow forecolor    0 0 0 1 ;
  341.             }
  342.  
  343.             action
  344.             {
  345.                 play     "sound/misc/menus/select.wav" ;             
  346.                 uiScript JoinTeam red 2;
  347.                 close     ingame_identity_red;
  348.                 exec    "ui_outfitting";
  349.             }
  350.         }
  351.  
  352.         itemDef
  353.         {
  354.             rect            289 206 62 120
  355.             visible            1
  356.             ownerdraw        UI_REDTEAM_IDENTITY
  357.             ownerdrawparam    2
  358.             decoration
  359.         }
  360.  
  361.         itemDef
  362.         {
  363.             name            redteam4_glow
  364.             type            ITEM_TYPE_BUTTON
  365.             style            WINDOW_STYLE_FILLED
  366.             rect            360 205 62 120
  367.             visible            1
  368.             border            1
  369.             bordercolor        0 0 0 1
  370.  
  371.             hotkey            "4"
  372.                         
  373.             forecolor        0 0 0 1
  374.             backcolor        0 0 0 0
  375.  
  376.             mouseEnter
  377.             {
  378.                 play "sound/misc/menus/hilite1.wav" ; 
  379.  
  380.                 setitemcolor redteam4_glow  backcolor .12 .14 .08 1;
  381.                 setitemcolor redteam4_glow  forecolor .49 .56 .27 1;
  382.             }
  383.  
  384.             mouseExit
  385.             {
  386.                 setitemcolor redteam4_glow backcolor    0 0 0 0 ;
  387.                 setitemcolor redteam4_glow forecolor    0 0 0 1 ;
  388.             }
  389.  
  390.             action
  391.             {
  392.                 play        "sound/misc/menus/select.wav" ;             
  393.                 uiScript    JoinTeam red 3;
  394.                 close        ingame_identity_red;
  395.                 exec        "ui_outfitting";
  396.             }
  397.         }
  398.  
  399.         itemDef
  400.         {
  401.             rect            361 206 62 120
  402.             visible            1
  403.             ownerdraw        UI_REDTEAM_IDENTITY
  404.             ownerdrawparam    3
  405.             decoration
  406.         }
  407.  
  408.         itemDef
  409.         {
  410.             name            redteam5_glow
  411.             type            ITEM_TYPE_BUTTON
  412.             style            WINDOW_STYLE_FILLED
  413.             rect            432 205 62 120
  414.             visible            1
  415.             border            1
  416.             bordercolor        0 0 0 1
  417.  
  418.             hotkey            "5"
  419.                         
  420.             forecolor        0 0 0 1
  421.             backcolor        0 0 0 0
  422.  
  423.             mouseEnter
  424.             {
  425.                 play "sound/misc/menus/hilite1.wav" ; 
  426.  
  427.                 setitemcolor redteam5_glow  backcolor .12 .14 .08 1;
  428.                 setitemcolor redteam5_glow  forecolor .49 .56 .27 1;
  429.             }
  430.  
  431.             mouseExit
  432.             {
  433.                 setitemcolor redteam5_glow backcolor    0 0 0 0 ;
  434.                 setitemcolor redteam5_glow forecolor    0 0 0 1 ;
  435.             }
  436.  
  437.             action
  438.             {
  439.                 play        "sound/misc/menus/select.wav" ;             
  440.                 uiScript    JoinTeam red 4;
  441.                 close        ingame_identity_red;
  442.                 exec    "ui_outfitting";
  443.             }
  444.         }
  445.  
  446.         itemDef
  447.         {
  448.             rect            433 206 62 120
  449.             visible            1
  450.             ownerdraw        UI_REDTEAM_IDENTITY
  451.             ownerdrawparam    4
  452.             decoration
  453.         }
  454.  
  455.         ///////////////////////////////////////////////////////////////////////
  456.         // BUTTONS
  457.         ///////////////////////////////////////////////////////////////////////
  458.  
  459.         itemDef 
  460.         {
  461.             name        spec_button
  462.             text        "Cancel"
  463.             type        1
  464.             textfont    "hud"
  465.             textscale    .53
  466.             type        ITEM_TYPE_BUTTON
  467.             style        WINDOW_STYLE_FILLED
  468.             rect        270 360 100 26
  469.             textalignx    25
  470.             textaligny    4
  471.             forecolor    0 0 0 1
  472.             backcolor    0 0 0 0
  473.             border        1
  474.             bordercolor    0 0 0 1
  475.             visible        1
  476.             
  477.             action 
  478.             { 
  479.                 play        "sound/misc/menus/select.wav" ; 
  480.                 close        "ingame_identity_red" ;
  481.                 open        "ingame_team" ;
  482.             }
  483.             mouseEnter 
  484.             { 
  485.                 play "sound/misc/menus/hilite1.wav" ; 
  486.                 setitemcolor spec_button backcolor .12 .14 .08 1
  487.                 setitemcolor spec_button forecolor .49 .56 .27 1
  488.             }                 
  489.             mouseExit 
  490.             { 
  491.                 setitemcolor spec_button backcolor 0 0 0 0
  492.                 setitemcolor spec_button forecolor 0 0 0 1
  493.             }
  494.         }
  495.     }
  496. }
  497.